package com.xiangha.springboot.service.impl;

import com.xiangha.springboot.pojo.Points;
import com.xiangha.springboot.dao.IPointsDao;
import com.xiangha.springboot.service.IPointsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 积分表 服务实现类
 * </p>
 *
 * @author itlong
 * @since 2025-09-19 03:40:35
 */
@Service
public class PointsServiceImpl extends ServiceImpl<IPointsDao, Points> implements IPointsService {
    @Autowired
    IPointsDao pointsDao;
    @Override
    public List<Points> getPoints(String userId) {
        return pointsDao.getPoints(userId);
    }
}
